<template>
  <div>
    <van-card
      :title="item.title"
      thumb="https://img.yzcdn.cn/vant/ipad.jpeg"
      :key="item.id" v-for="item in list2"
    >
      <template #tags>
        <van-tag plain type="danger">{{item.people}}</van-tag>
        <van-tag plain type="danger">{{'￥'+item.price}}</van-tag>
        <van-tag plain type="danger">{{item.state}}</van-tag>
      </template>
      <template #footer>
        <van-button size="mini">查看订单详情</van-button>
        <van-button size="mini">查看团详情</van-button>
      </template>
    </van-card>
  </div>
</template>

<script>
  export default {
    props:['list2'],
    name: "lotteryCard"
  }
</script>

<style scoped>

</style>
